﻿using FluentNHibernate.Mapping;

namespace NHibernate.Identity.Internal.Mapping
{
    public class IdentityRoleMap<T> : ClassMap<T> where T : IdentityRole
    {
        public IdentityRoleMap()
        {
            Id(x => x.Id);

            Map(x => x.Name);

            Table("aspnet_Roles");
        }
    }

    public class DefaultIdentityRoleMap : IdentityRoleMap<IdentityRole>
    {
    }
}